const StartUp = () => import('./page/startUp/StartUp');
const Home = () => import('./page/home/Home');
const array = ['js', 'webpack', 'vite', 'es2022', 'css', 'webApi', 'theory', 'git', 'designMode'];
const routes = [
    { path: '/', redirect: '/start_up' },
    { path: '/start_up', component: StartUp }
].concat(array.map(key => ({ path: `/${key}`, name: key, component: Home })));
export default routes;
